#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# @File : app.py
# @Autor: FY
# @Date: 2021/8/27

# 初始化一般都在这个文件中
# 比如应用的初始化
from studyPageObject2.pages.main_page import MainPage
from selenium import webdriver

class APP:
    @classmethod
    def start(cls):
        cls.driver = webdriver.Chrome()


        # 返回主页
        return MainPage(cls.driver)

    @classmethod
    def quit(cls):
        cls.driver.quit